module.exports = (date) => {
  let nowDate = new Date();
  let houer = nowDate.getHours()
  houer = houer < 10 ? '0' + houer : houer
  let min = nowDate.getMinutes()
  min = min < 10 ? '0' + min : min
  let nowTime =
    nowDate.getFullYear() + '-' +
    (nowDate.getMonth() + 1) + '-' +
    nowDate.getDate() + ' ' +
    houer + ':' +
    min
  return nowTime
}